<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>文章管理</title>
    <hdjs/>
    <bootstrap/>
    <css file="__STATIC__/css/common.css"/>
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
        <tr>
            <td width="50">aid</td>
            <td>文章标题</td>
            <td width="100">属性</td>
            <td width="180">添加时间</td>
            <td width="180">修改时间</td>
            <td width="100">所属分类</td>
            <td width="50">作者</td>
            <td width="150">操作</td>
        </tr>
        </thead>
        <tbody>
        <foreach from="$data" value="$v">    
            <tr>
                <td width="50">{$v.aid}</td>
                <td>{$v.title}</td>
                <td width="100">{$v.attr}</td>
                <td width="180">{$v.sendtime|date:'Y-m-d H:i:s',@@}</td>
                <td width="180">{$v.updatetime}</td>
                <td width="100">{$v.cname}</td>
                <td width="50">{$v.author}</td>
                <td widt="150">
                    
                    <a href="javascript:;" class="btn btn-info btn-xs" onclick="if(confirm('确定还原吗？')) location.href='{|U:'Article/restore',array('aid'=>$v['aid'])}'">还原</a>
                    <a href="javascript:;" class="btn btn-danger btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'Article/true_del',array('aid'=>$v['aid'])}'">删除</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>


